﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

using System.ComponentModel.Composition;
using ModularAndPlugin.WinApp.Composition;
using ModularAndPlugin.WinApp.Contracts;
using SailHero.Soft.FrameWork.Models;

namespace UI.WinForm.DayDatas
{
    [ModuleAttibute("DayDatas")]
    public class DayDatasModule : IModule
    {
        public string Name
        {
            get { return "DayDatas"; }
        }

        public IModuleHandler ModuleHandler
        {
            get { return DayDatasCommandFacade.ModuleHandler; }
        }

        [ImportingConstructor()]
        public DayDatasModule([Import(typeof(IModuleHandler))] IModuleHandler moduleHandler_)
        {
            DayDatasCommandFacade.ModuleHandler = moduleHandler_;
        }

    }
}
